<template>
  <a-input size="default" :value="code" v-bind="$attrs">
    <template #addonAfter>
      <ImageButton ref="pictureRef" class="imgbutton" />
    </template>
  </a-input>
</template>
<script setup lang="ts">
import ImageButton from './image-button.vue';
import { ref } from 'vue';
import { Input } from 'ant-design-vue'; // 引入 Input 组件

const code = ref('');
</script>
<style lang="scss" scoped></style>
